import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import Login from '../views/Login.vue'
import SearchGeneCategory from '../views/SearchGeneCategory.vue'
import SearchGeneComposition from '../views/SearchGeneComposition.vue'
import SearchDoubleAlleles from '../views/SearchDoubleAlleles.vue'
import SearchGeneAllele from '../views/SearchGeneAllele.vue'
import AdminIndex from '../views/AdminIndex.vue'
import GeneCategory from '../views/GeneCategory.vue'
import Category_Allele from '../views/Category_Allele.vue'
import Gene_Homology from '../views/Gene_Homology.vue'
import GeneAllele from '../views/GeneAllele.vue'
import DoubleAlleles from '../views/DoubleAlleles.vue'
import GeneComposition from '../views/GeneComposition.vue'
import DoubleAlleles_GeneAllele from '../views/DoubleAlleles_GeneAllele.vue'
import GeneComposition_Reference from '../views/GeneComposition_Reference.vue'
import GeneCategory_GeneComposition from '../views/GeneCategory_GeneComposition.vue'
import Mouse_Reference from '../views/Mouse_Reference.vue'
import Disease from '../views/Disease.vue'
import GeneComposition_DoubleAlleles from '../views/GeneComposition_DoubleAlleles.vue'
import Phenotype from '../views/Phenotype.vue'
import Reference from '../views/Reference.vue'
import User from '../views/User.vue'
import Gene_Reference from '../views/Gene_Reference.vue'
import Mouse from '../views/Mouse.vue'


const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/Login',
    name: 'Login',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Login.vue')
  },
  {
    path: '/SearchGeneCategory',
    name: 'SearchGeneCategory',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/SearchGeneCategory.vue')
  },
  {
    path: '/SearchGeneComposition',
    name: 'SearchGeneComposition',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/SearchGeneComposition.vue')
  },
  {
    path: '/SearchDoubleAlleles',
    name: 'SearchDoubleAlleles',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/SearchDoubleAlleles.vue')
  },
  {
    path: '/SearchGeneAllele',
    name: 'SearchGeneAllele',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/SearchGeneAllele.vue')
  },
  {
    path: '/AdminIndex',
    name: 'AdminIndex',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/AdminIndex.vue')
  },
  {
    path: '/GeneCategory',
    name: 'GeneCategory',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/GeneCategory.vue')
  },
  {
    path: '/Category_Allele',
    name: 'Category_Allele',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Category_Allele.vue')
  },
  {
    path: '/Gene_Homology',
    name: 'Gene_Homology',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Gene_Homology.vue')
  },
  {
    path: '/GeneAllele',
    name: 'GeneAllele',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/GeneAllele.vue')
  },
  {
    path: '/DoubleAlleles',
    name: 'DoubleAlleles',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/DoubleAlleles.vue')
  },
  {
    path: '/GeneComposition',
    name: 'GeneComposition',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/GeneComposition.vue')
  },
  {
    path: '/DoubleAlleles_GeneAllele',
    name: 'DoubleAlleles_GeneAllele',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/DoubleAlleles_GeneAllele.vue')
  },
  {
    path: '/GeneComposition_Reference',
    name: 'GeneComposition_Reference',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/GeneComposition_Reference.vue')
  },
  {
    path: '/GeneCategory_GeneComposition',
    name: 'GeneCategory_GeneComposition',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/GeneCategory_GeneComposition.vue')
  },
  {
    path: '/Mouse_Reference',
    name: 'Mouse_Reference',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Mouse_Reference.vue')
  },
  {
    path: '/Disease',
    name: 'Disease',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Disease.vue')
  } ,
  {
    path: '/GeneComposition_DoubleAlleles',
    name: 'GeneComposition_DoubleAlleles',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/GeneComposition_DoubleAlleles.vue')
  },
  {
    path: '/Phenotype',
    name: 'Phenotype',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Phenotype.vue')
  },
  {
    path: '/Reference',
    name: 'Reference',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Reference.vue')
  },
  {
    path: '/User',
    name: 'User',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/User.vue')
  },
  {
    path: '/Gene_Reference',
    name: 'Gene_Reference',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Gene_Reference.vue')
  },
  {
    path: '/Mouse',
    name: 'Mouse',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/Mouse.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
